<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic
  PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">
<topic id="topic1">
  <title id="oz137116">gpmt packcore</title>
  <body>
    <p>This tool collects all the necessary files and generates a script that runs the
        <codeph>gdb</codeph> command to create a core file readable by an external host. Use this
      command when VMware Support needs to collect core files generated by the Greenplum
      processes.</p>
    <section>
      <title>Usage</title>
      <codeblock><b>gpmt</b> <b>packcore</b> <b>collect</b> -core COREFILE [<varname>-binary BINARY </varname>] 
[<varname>-keep_tmp_dir</varname>] [<varname>-ignore_missing]</varname> </codeblock>
    </section>
    <section>
      <title>Options</title>
      <parml>
        <plentry>
          <pt><varname>-core</varname></pt>
          <pd>Corefile name.</pd>
        </plentry>
        <plentry>
          <pt><varname>-binary </varname></pt>
          <pd>Binary name that generated the core file. </pd>
        </plentry>
        <plentry>
          <pt><varname>-keep_tmp_dir</varname></pt>
          <pd>Do not delete the temporary directory.</pd>
        </plentry>
        <plentry>
          <pt><varname>-ignore_missing</varname></pt>
          <pd>Ignore missing libraries.</pd>
        </plentry>
      </parml>
    </section>
    <section>
      <title>Examples</title>
      <p>Collect core info for <codeph>core.1234</codeph> for binary
          <codeph>/usr/local/greenplum-db/bin/postgres</codeph>.</p>
      <codeblock>gpmt packcore -cmd collect -core core.1234 -binary /usr/local/greenplum-db/bin/postgres</codeblock>
    </section>
  </body>
</topic>
